package com.beiding.my.bomapping;

import java.util.List;

/*
    Bo成员属性

    bo内引用

    bo内字段

 */
interface BoAttributeMapper {
    String getId();
    String getName();
    //currentSegment 当前处理的区段
    void handleByName(Object bo, String[] segments, int currentSegment, Object v);

    void handleById(Object bo, String[] segments, int currentSegment, Object v);

    void makeIdByName(List<String> idSegments, String[] nameSegments, int currentSegment);

    void fillExpressionDetails(Class type, String[] segments, int currentSegment, ExpressionDetails expressionDetails);

}
